import { RouterProvider } from 'react-router'
import router from './router'

import { ConfigProvider } from 'antd'
import zhCN from 'antd/locale/zh_CN'

import dayjs from 'dayjs'
import 'dayjs/locale/zh-cn'
dayjs.locale('zh-cn')

function App() {
  return (
    <ConfigProvider locale={zhCN}>
      <div className="app">
        <RouterProvider router={router} />
      </div>
    </ConfigProvider>
  )
}

export default App
